package demofactory;

public class AdimalFactory implements UserFactory{
    @Override
    public User createUser(String name, int age) {
        return new AdimalUser(name,age);
    }
}
